﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Runda.CMS.Common.Utility;

namespace Runda.CMS.Common.Entity
{
    [Serializable]
    [TableName("Cms_Wsm_ConsumerGoods")]
    public partial class WsmConsumerGoodsEntity:EntityBase
    {
        #region 构造函数
		///<summary>
		///仪器保养项
		///</summary>
		public WsmConsumerGoodsEntity()
			: this(Guid.NewGuid())
		{
		}

        public WsmConsumerGoodsEntity(Guid GoodsID)
		{
            this._GoodsID = GoodsID;
		}

		 
		#endregion
		
		#region 字段
		
		///<summary>
		///
		///</summary>	
        private Guid _GoodsID;

		///<summary>
		///
		///</summary>	
        private string _GoodsName;

		///<summary>
		///
		///</summary>	
        private string _Unit;

        private string _Vendor;

        private DateTime _CreatedOn;

        private bool _Deleted;

        private decimal _Cost;

		#endregion
		
		#region 公共属性


		///<summary>
		///
		///</summary>
		[PrimaryKey]
		public Guid GoodsID
		{
			get{return _GoodsID;}
			set{_GoodsID = value;}
		}

		///<summary>
		///
		///</summary>
        public string GoodsName
		{
            get { return _GoodsName; }
            set { _GoodsName = value; }
		}

		///<summary>
		///
		///</summary>
        public string Unit
		{
            get { return _Unit; }
            set { _Unit = value; }
		}         

        public DateTime CreatedOn
        {
            get { return _CreatedOn; }
            set { _CreatedOn = value; }
        }
        public bool Deleted
        {
            get { return _Deleted; }
            set { _Deleted = value; }
        }

        public decimal Cost
        {
            get { return _Cost; }
            set { _Cost = value; }
        }
        public string Vendor
        {
            get { return _Vendor; }
            set { _Vendor = value; }
        }
		#endregion
    }
}
